<div class='col-md-12' style='padding: 0px;'>
  <div crumbs config='crumbsConfig' ></div>
  <div class='page-toolbar'>
    <div class='portlet-body'>
      <div class='row' >
        <div class='col-md-12' style='min-height: 500px;'>
          <div class='portlet light'>

            <div class='portlet-title'>
                <div class='caption font-dark'>
                    <i class='htrd-l-icon icon-control-index' style="width:20px"></i>
                    <span class='caption-subject bold uppercase' >流程调度</span>
                </div>
            </div>

            <div class='portlet-body htrd-l-control' style='margin-top: -10px;padding-top: 0px;' >
              <div class='row' >
                <div class='col-md-12 list'>
                  <div class='head' >

                      <div class="value" style="float: left;position: relative;top: 5px;" >
                        <p style="float:left;line-height: 45px; margin-right: 15px; font-size: 16px;">流程筛选: </p>
                        <!--<div  style="float:left" select-filter callBack="getProcessListByName" active-callBack="activeProcess" ></div>-->
                        <!--搜索条-->
                       <!-- <div class="input-group htrd-process-list-input">
                          <input type="text" class="form-control" placeholder="流程名称" style="border: none;font-size:12px;height:31px" ng-model="query" >
                        </div>-->


                        <div class="value" style="float: left">
                          <div select-filter callBack="getProcessListByName1" active-callBack="activeProcess" text="''" id="controlListSelectId" ></div>
                        </div>

                        <!-- 查询 -->
                        <div class="htrd-process-list-querybtn" ng-click="search()" style="float: left;margin-top:8px;">
                          <i class="htrd-list-query"></i>
                          <span class="htrd-process-list-querytext">查询</span>
                        </div>
                      </div>




                    <!-- <div class='btn htrd-l-fr' ng-click='addControlProject()' >创建计划</div> -->
                    <div class="htrd-process-list-creatbtn" ng-click="addControlProject()" style="margin-top:10px">
                      <i class="htrd-list-creat"></i>
                      <span class="htrd-process-list-creattext">创建计划</span>
                    </div>

                    <div class="htrd-l-clear"></div>
                    <!-- <div ng-show='!!controlList.length' class='link' ng-click='delControlProject()' >删除</div> -->
                  </div>

                  <div class='body' >
                    <div ng-show='!!controlList.length' >
                      <div class='table-scrollable'>
                        <table class='table table-striped table-bordered table-hover dataTable htrd-home-table'>
                          <thead>
                            <tr role='row'>
                              <th>id</th>
                              <th>流程名称</th>

                              <th>计划名称</th>
                              <th>配置结果</th>
                              <th>状态</th>
                              <th>操作</th>
                            </tr>
                          </thead>
                          <tbody>
                            <tr ng-repeat='item in controlList'>
                            <!--<tr ng-repeat='item in newControlList'>-->
                              <td ng-bind='item.id' ></td>
                              <td ng-bind='item.pipeline_name'>流程名称</td>

                              <td ng-bind='item.name' ></td>
                              <td ng-bind='item.result_info' ></td>
                              <td >{{item.status?"已启用":"已禁用"}}</td>
                              <td>
                                <div>
                                  <span style="cursor: pointer;color: #3b8cff;" ng-click="editControlProject(item)" >编辑</span>
                                  <!-- <span style="cursor: pointer;color: #3b8cff;" ng-click="delControlProject(item)" >删除</span> -->
                                </div>
                              </td>
                            </tr>

                          </tbody>
                        </table>
                      </div>

                      <div>
                        <div page ></div>
                      </div>

                    </div>
                    <div ng-hide='!!controlList.length'>
                      <div class="htrd-control-list-unplanned"></div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
